//
//  AllPowerViewController.m
//  EggSteward
//
//  Created by 王道林 on 16/9/8.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "AllPowerViewController.h"
#import "BaseLabel.h"
#import "DLMacro.h"
@interface AllPowerViewController ()

@end

@implementation AllPowerViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = _navigationTitle;
    // Do any additional setup after loading the view.
    [self createSubView];
}

- (void)createSubView
{
    BaseLabel *label = [[BaseLabel alloc] initWithFrame:CGRectMake(0, 20, VIEW_WIDTH, 50)];
    [self.view addSubview:label];
    label.text = _contectTiltle;
    label.textAlignment = 1;
    label.font = [UIFont systemFontOfSize:18];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
